﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace GrayParrot.Core.Filters
{
    public interface IFilterBase<T> : IFilterBase
    {
        Expression<Func<T, bool>> SetUpFilter();
    }

    public interface IFilterBase
    {
        DateTime? PeriodFrom { get; set; }
        DateTime? PeriodTo { get; set; }
        bool UseDates { get; set; }

        string ToTraceString();
    }
}
